#!/bin/sh
mv data.xml data.xml.old
cat data.xml.old | sed 's/root/list/g' | sed 's/name/nom/g' | sed 's/vostfr/version/g' | sed 's/vostfr/version/g'  | sed 's/format/qualite/g'  | sed 's/720p/_720P/g' | sed 's/FRENCH/VF/g' | sed 's/<qualite \/>/<qualite>SD<\/qualite>/g' |  sed 's/<active>1<\/active>/<active>true<\/active>/g' |  sed 's/<active>0<\/active>/<active>false<\/active>/g' > data.xml.new
mv data.xml.new /mnt/ftp 